<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Auth::Sigv4HttpRequestSigner Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Auth.html">Auth</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html">Sigv4HttpRequestSigner</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Auth::Sigv4HttpRequestSigner Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="Sigv4Signing_8h_source.html">Sigv4Signing.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Aws::Crt::Auth::Sigv4HttpRequestSigner:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.png" usemap="#Aws::Crt::Auth::Sigv4HttpRequestSigner_map" alt=""/>
  <map id="Aws::Crt::Auth::Sigv4HttpRequestSigner_map" name="Aws::Crt::Auth::Sigv4HttpRequestSigner_map">
<area href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html" alt="Aws::Crt::Auth::IHttpRequestSigner" shape="rect" coords="0,0,232,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a200c322faf587b0c8b092fa442f207fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#a200c322faf587b0c8b092fa442f207fc">Sigv4HttpRequestSigner</a> (<a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:a200c322faf587b0c8b092fa442f207fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa436c35e981ac6ef75cc8820cc24ffe"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#afa436c35e981ac6ef75cc8820cc24ffe">~Sigv4HttpRequestSigner</a> ()=default</td></tr>
<tr class="separator:afa436c35e981ac6ef75cc8820cc24ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7611bb9aad70da12e29b9fac88a5740"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#aa7611bb9aad70da12e29b9fac88a5740">IsValid</a> () const override</td></tr>
<tr class="separator:aa7611bb9aad70da12e29b9fac88a5740"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f259599ed4b307e27512459d33b3fef"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#a7f259599ed4b307e27512459d33b3fef">SignRequest</a> (const std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Aws::Crt::Http::HttpRequest</a> &gt; &amp;request, const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ISigningConfig.html">ISigningConfig</a> &amp;config, const <a class="el" href="namespaceAws_1_1Crt_1_1Auth.html#ab4ca80a8fc66d38af49bf5431b5c8ebf">OnHttpRequestSigningComplete</a> &amp;completionCallback) override</td></tr>
<tr class="separator:a7f259599ed4b307e27512459d33b3fef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">Aws::Crt::Auth::IHttpRequestSigner</a></td></tr>
<tr class="memitem:a0fb853087376e1b96c9aa1879d8e8dfe inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#a0fb853087376e1b96c9aa1879d8e8dfe">IHttpRequestSigner</a> ()=default</td></tr>
<tr class="separator:a0fb853087376e1b96c9aa1879d8e8dfe inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340f391600ba7282cdd08b4a578997b5 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#a340f391600ba7282cdd08b4a578997b5">IHttpRequestSigner</a> (const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;)=delete</td></tr>
<tr class="separator:a340f391600ba7282cdd08b4a578997b5 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae944718c24b5129de6e3425657c34434 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#ae944718c24b5129de6e3425657c34434">IHttpRequestSigner</a> (<a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:ae944718c24b5129de6e3425657c34434 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3468fdbd10e6775ed48f1633e67922ba inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#a3468fdbd10e6775ed48f1633e67922ba">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;)=delete</td></tr>
<tr class="separator:a3468fdbd10e6775ed48f1633e67922ba inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd2958f3d93ae5c7634256eb68b02cd9 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#acd2958f3d93ae5c7634256eb68b02cd9">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:acd2958f3d93ae5c7634256eb68b02cd9 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd78d8cd9c75991a12cee92e6bd93bf inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#a0cd78d8cd9c75991a12cee92e6bd93bf">~IHttpRequestSigner</a> ()=default</td></tr>
<tr class="separator:a0cd78d8cd9c75991a12cee92e6bd93bf inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="namespaceAws_1_1Crt_1_1Http.html">Http</a> request signer that performs <a class="el" href="namespaceAws.html">Aws</a> Sigv4 signing </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a200c322faf587b0c8b092fa442f207fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a200c322faf587b0c8b092fa442f207fc">&#9670;&nbsp;</a></span>Sigv4HttpRequestSigner()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Auth::Sigv4HttpRequestSigner::Sigv4HttpRequestSigner </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afa436c35e981ac6ef75cc8820cc24ffe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa436c35e981ac6ef75cc8820cc24ffe">&#9670;&nbsp;</a></span>~Sigv4HttpRequestSigner()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Aws::Crt::Auth::Sigv4HttpRequestSigner::~Sigv4HttpRequestSigner </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa7611bb9aad70da12e29b9fac88a5740"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7611bb9aad70da12e29b9fac88a5740">&#9670;&nbsp;</a></span>IsValid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Auth::Sigv4HttpRequestSigner::IsValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Whether or not the signer is in a valid state </p>

<p>Implements <a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#ac97a65937fbc26e702fe1176743dd81a">Aws::Crt::Auth::IHttpRequestSigner</a>.</p>

</div>
</div>
<a id="a7f259599ed4b307e27512459d33b3fef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f259599ed4b307e27512459d33b3fef">&#9670;&nbsp;</a></span>SignRequest()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Auth::Sigv4HttpRequestSigner::SignRequest </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Aws::Crt::Http::HttpRequest</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ISigningConfig.html">ISigningConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceAws_1_1Crt_1_1Auth.html#ab4ca80a8fc66d38af49bf5431b5c8ebf">OnHttpRequestSigningComplete</a> &amp;&#160;</td>
          <td class="paramname"><em>completionCallback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Signs an http request with AWS-auth sigv4. OnCompletionCallback will be invoked upon completion. </p>

<p>Implements <a class="el" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html#a72a0db10e8a8528ead4d4a4a5afe3fb0">Aws::Crt::Auth::IHttpRequestSigner</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/auth/<a class="el" href="Sigv4Signing_8h_source.html">Sigv4Signing.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/auth/<a class="el" href="Sigv4Signing_8cpp.html">Sigv4Signing.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
